package com.qiangesoft.multithread.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * <p>
 * 订单信息
 * </p>
 *
 * @author qiangesoft
 * @since 2024-05-06
 */
@Data
public class MallOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 店铺ID
     */
    private Long shopId;

    /**
     * 商品ID
     */
    private Long goodsId;

    /**
     * 客户ID
     */
    private Long customerId;

    /**
     * 总金额
     */
    private BigDecimal totalAmount;

    /**
     * 运费
     */
    private BigDecimal transportCost;

    /**
     * 订单状态 1-待支付 2-已支付 3-待发货 4-已发货 5-待收货 6-待评价
     */
    private Integer orderStatus;

    /**
     * 下单时间
     */
    private LocalDateTime orderTime;

    /**
     * 支付方式 1-微信 2-支付宝 3-云闪付
     */
    private Integer payMethod;

    /**
     * 支付时间
     */
    private LocalDateTime payTime;

    /**
     * 收货地址
     */
    private String shippingAddress;

    /**
     * 收货人姓名
     */
    private String receiverName;

    /**
     * 收货人电话
     */
    private String receiverPhone;


}
